package com.sk.weichat.bean;

/**
 * 招呼消息
 */
public class CallMessage {

    private String ownerId;
    private String userId;
    private String nickname;
    private String content;
    private Long timeSend;
    private int type;
    private int unReadNum;
    private int sex;//0表示女，1表示男

    private int showLastLoginTime;//是否允许看到我的上线时间
    private int allowQueryLoc;//是否允许看得我们之间的距离
    private User.Loc loc;
    private  Friend friend;

    public Friend getFriend() {
        return friend;
    }

    public void setFriend(Friend friend) {
        this.friend = friend;
    }

    public String getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(String ownerId) {
        this.ownerId = ownerId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getTimeSend() {
        return timeSend;
    }

    public void setTimeSend(Long timeSend) {
        this.timeSend = timeSend;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getUnReadNum() {
        return unReadNum;
    }

    public void setUnReadNum(int unReadNum) {
        this.unReadNum = unReadNum;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public int getShowLastLoginTime() {
        return showLastLoginTime;
    }

    public void setShowLastLoginTime(int showLastLoginTime) {
        this.showLastLoginTime = showLastLoginTime;
    }

    public int getAllowQueryLoc() {
        return allowQueryLoc;
    }

    public void setAllowQueryLoc(int allowQueryLoc) {
        this.allowQueryLoc = allowQueryLoc;
    }

    public User.Loc getLoc() {
        return loc;
    }

    public void setLoc(User.Loc loc) {
        this.loc = loc;
    }
}
